/* =========================================================
   RESEARCH PROJECTS PAGE
========================================================= */
/* =========================================================
   GLOBAL
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    font-family: Arial, Helvetica, sans-serif;

    background: #f4f7fa;
    color: #101722;

    line-height: 1.5;

    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    width: 100%;

    background: #07131f;

    border-bottom: 1px solid #1d3042;
}

.nav-container {
    height: 47px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


/* LOGO */

.logo {
    color: #ffffff;

    font-size: 21px;

    font-weight: 700;

    letter-spacing: 3px;

    white-space: nowrap;
}

.logo span {
    color: #12aee8;
}


/* NAVIGATION */

.navigation {
    display: flex;

    align-items: center;

    gap: 27px;
}

.navigation a {
    color: #8fa0b0;

    font-size: 15px;

    transition:
        color 0.2s ease;
}

.navigation a:hover {
    color: #ffffff;
}

.navigation a.active {
    color: #12aee8;
}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    padding: 8px;

    border: 1px solid #294057;

    border-radius: 10px;

    background: #07131f;

    cursor: pointer;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    gap: 5px;

    z-index: 200;
}

.menu-toggle span {
    display: block;

    width: 23px;
    height: 2px;

    background: #ffffff;

    border-radius: 2px;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}


/* =========================================================
   the above code is global in all the pages
========================================================= */


/* =========================================================
   RESEARCH HERO
========================================================= */

.research-hero {
    min-height: 600px;

    display: flex;
    align-items: center;

    padding: 80px 0;
}

.hero-content {
    max-width: 950px;
}

.eyebrow {
    color: #13b4ed;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 4px;

    margin-bottom: 22px;
}

.hero-content h1 {
    font-size: clamp(60px, 8vw, 105px);

    line-height: 0.88;

    letter-spacing: -7px;

    margin-bottom: 35px;
}

.hero-content h1 span {
    display: block;

    color: #13b4ed;
}

.hero-description {
    max-width: 850px;

    color: #687787;

    font-size: 18px;

    line-height: 1.6;
}

.hero-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 30px;
}

.hero-tags span {
    background: #ffffff;

    border: 1px solid #dce3e9;

    padding: 8px 13px;

    border-radius: 30px;

    font-size: 9px;

    font-weight: 700;
}


/* =========================================================
   PROJECT SECTION
========================================================= */

.projects-section {
    padding: 110px 0;

    border-top: 1px solid #dce3e9;
}

.section-heading {
    max-width: 800px;
}

.section-heading h2 {
    font-size: clamp(42px, 5vw, 68px);

    line-height: 1;

    letter-spacing: -4px;

    margin-bottom: 25px;
}

.section-heading > p:last-child {
    color: #687787;

    font-size: 17px;

    line-height: 1.6;
}


/* =========================================================
   PROJECT GRID
========================================================= */

.projects-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 22px;

    margin-top: 65px;
}


/* =========================================================
   PROJECT CARD
========================================================= */

.project-card {
    position: relative;

    min-height: 530px;

    padding: 32px;

    background: #ffffff;

    border: 1px solid #dce3e9;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    overflow: hidden;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.project-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 4px;
    height: 0;

    background: #13b4ed;

    transition: height 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);

    border-color: #13b4ed;

    box-shadow:
        0 20px 45px rgba(6, 17, 31, 0.10);
}

.project-card:hover::before {
    height: 100%;
}


/* =========================================================
   PROJECT NUMBER
========================================================= */

.project-number {
    color: #13b4ed;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 3px;
}


/* =========================================================
   PROJECT CONTENT
========================================================= */

.project-content {
    margin-top: 20px;
}

.project-category {
    color: #8997a4;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 15px;
}

.project-content h3 {
    font-size: 40px;

    line-height: 0.95;

    letter-spacing: -2px;

    margin-bottom: 25px;
}

.project-content h3 span {
    color: #13b4ed;
}

.project-description {
    color: #687787;

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   PROJECT TAGS
========================================================= */

.project-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 6px;

    margin-top: 25px;
}

.project-tags span {
    padding: 6px 9px;

    background: #eef9fc;

    color: #087da6;

    font-size: 9px;

    font-weight: 700;
}


/* =========================================================
   PROJECT BUTTON
========================================================= */

.project-button {
    margin-top: 30px;

    padding: 15px 17px;

    background: #06111f;

    color: #ffffff;

    display: flex;

    align-items: center;

    justify-content: space-between;

    font-size: 11px;

    font-weight: 700;

    transition:
        background 0.25s ease,
        color 0.25s ease;
}

.project-button:hover {
    background: #13b4ed;

    color: #03101a;
}

.project-button .arrow {
    font-size: 18px;
}


/* =========================================================
   RESEARCH APPROACH
========================================================= */

.approach-section {
    padding: 110px 0;

    background: #06111f;

    color: #ffffff;
}

.approach-grid {
    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 90px;

    align-items: center;
}

.approach-section h2 {
    font-size: clamp(45px, 6vw, 75px);

    line-height: 0.95;

    letter-spacing: -4px;
}

.approach-content > p {
    color: #91a5b8;

    font-size: 17px;

    line-height: 1.7;

    max-width: 650px;
}


/* =========================================================
   RESEARCH FLOW
========================================================= */

.approach-flow {
    margin-top: 35px;

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 10px;
}

.approach-flow span {
    padding: 10px 13px;

    border: 1px solid #294257;

    color: #d8e3eb;

    font-size: 10px;

    font-weight: 700;
}

.approach-flow span:nth-child(even) {
    border: none;

    color: #13b4ed;

    padding: 0 3px;
}


/* =========================================================
   PUBLICATIONS
========================================================= */

.publication-section {
    padding: 90px 0;
}

.publication-box {
    padding: 55px;

    background: #eaf2f6;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;
}

.publication-box h2 {
    font-size: 48px;

    line-height: 1;

    letter-spacing: -3px;

    margin-bottom: 15px;
}

.publication-box p:not(.eyebrow) {
    color: #687787;
}

.publication-button {
    flex-shrink: 0;

    padding: 15px 22px;

    background: #06111f;

    color: #ffffff;

    font-size: 11px;

    font-weight: 700;

    transition:
        background 0.25s ease,
        color 0.25s ease;
}

.publication-button:hover {
    background: #13b4ed;

    color: #03101a;
}

.publication-button span {
    margin-left: 20px;

    font-size: 17px;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    padding: 35px 0;

    background: #030b14;

    color: #71879a;

    font-size: 10px;
}

.site-footer .container {
    display: flex;

    justify-content: space-between;

    gap: 20px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 950px) {

    .projects-grid {
        grid-template-columns: 1fr 1fr;
    }

    .approach-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .navigation {
        display: none;
    }

    .research-hero {
        min-height: auto;

        padding: 80px 0;
    }

    .hero-content h1 {
        font-size: 60px;

        letter-spacing: -5px;
    }

    .projects-grid {
        grid-template-columns: 1fr;

        margin-top: 45px;
    }

    .project-card {
        min-height: 480px;
    }

    .approach-section {
        padding: 75px 0;
    }

    .publication-box {
        padding: 35px;

        flex-direction: column;

        align-items: flex-start;
    }

    .publication-box h2 {
        font-size: 40px;
    }

    .site-footer .container {
        flex-direction: column;

        gap: 12px;
    }

}